package cn.bdqn.service;

import cn.bdqn.pojo.AppInfo;

import java.util.List;

public interface AppInfoService {
    public List<AppInfo> getAppInfoList(AppInfo appInfo, int currPage, int pageSize);

    public int getAppInfoCount(AppInfo appInfo);

    public List<AppInfo> getDevAppInfoList(AppInfo appInfo,int currPage,int pageSize);

    public int getDevAppInfoListCount(AppInfo appInfo);

    public int addAppInfo(AppInfo appInfo);

    //判断是否存在
    public int findApkName(String apkName);

    public AppInfo getAppInfoId(int aid);
    public int updateAppInfo(Integer aid,Integer status,Integer checkId);

    public int updateFile(int id);
    public int doUpdate(AppInfo appInfo);
    public int updateVersionId(int id,int vid);
    public int delAppInfo(int aid);
}
